var _contextPath;

function getContextPath() {
	if ("" == _contextPath || 'undefined' == _contextPath) {
		_contextPath = $("#contextPath").val();
	}
	return _contextPath;
}

function goBack(){
	window.location.href = contextPath + "iccard/recharge/rechargecard_cancel.jsp?cardNum="+cardNum;
}
/**
 * 消费记录
 */
function consumeRecords() {
	var cardNum = $("#cardNum").html();
	//alert(cardNum);
	window.location.href = contextPath + "iccard/recharge/rechargecard_singlecardConsumeRecords.jsp?cardNum="+cardNum;
}

/**
 * 充值记录
 */
function rechargeRecords() {
	window.location.href = contextPath + "iccard/recharge/rechargecard_singlecardRechargeRecords.jsp?cardNum="+cardNum;
}




